﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Framework.Util.*;

    public class AMI_IGuild_getWarningMemberList extends RMIObject
    {

        public function AMI_IGuild_getWarningMemberList(param1:Function = null, param2:Function = null, param3:Object = null)
        {
            super(param1, param2);
            userObject = param3;
            callFunction = "getWarningMemberList";
            return;
        }// end function

        override public function __response(param1:SerializeStream) : void
        {
            var warningMembers:Array;
            var days:int;
            var activity:int;
            var chatTimes:int;
            var contributionWeek:int;
            var __is:* = param1;
            try
            {
                warningMembers = SeqSWarningMemberHelper.read(__is);
                days = __is.readInt();
                activity = __is.readInt();
                chatTimes = __is.readInt();
                contributionWeek = __is.readInt();
            }
            catch (__ex:Error)
            {
                cdeException(new Exception("ExceptionCodeSerialize", Exception.ExceptionCodeSerialize));
                return;
            }
            this.cdeResponse(warningMembers, days, activity, chatTimes, contributionWeek);
            return;
        }// end function

        public function cdeResponse(param1:Array, param2:int, param3:int, param4:int, param5:int) : void
        {
            if (_response != null)
            {
                _response.call(null, this, param1, param2, param3, param4, param5);
            }
            return;
        }// end function

    }
}
